package com.jy.adscm.operation.mask.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 口罩生产工人工作记录表
 * </p>
 *
 * @author yyy
 * @since 2020-03-24
 */
@Data
public class MaskWorkRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 员工ID
     */
    private Integer empId;
    @TableField(exist = false)
    private String empName;
    /**
     * 记录时间
     */
    private Date recordTime;
    @TableField(exist = false)
    private String recordTimeDesc;
    /**
     * 工序
     */
    private String belongGx;
    @TableField(exist = false)
    private String belongGxDesc;
    /**
     * 机床
     */
    private Integer workMac;
    @TableField(exist = false)
    private KzMachine machine;
    @TableField(exist = false)
    private String macName;
    /**
     * 物料编号
     */
    private String matterCode;
    /**
     * 产品数量
     */
    private Long productTotal;
    /**
     * 产品重量
     */
    private Double productWeight;
    /**
     * 记录类型,关联码表【记录类型】
     */
    private String recordType;
    @TableField(exist = false)
    private String recordTypeDesc;
    /**
     * 图片凭证集合
     */
    @TableField(exist = false)
    private List<MaskWorkRecordImgs> recordImgs;

    /**
     * 机器编码
     */
    @TableField(exist = false)
    private String macCode;

    /**
     * 箱号序号（不同环节的合格品输出对应不同的序号）
     */
    private Long boxSerial;
    /**
     * 箱号序号二维码编号
     */
    private String boxSerialQrCode;

    /**
     * 物料类型ID
     */
    private Long materialId;

    /**
     * 物料类型名称
     */
    private String materialName;
    /*记录状态*/
    private Integer state;
    /*备注*/
    private String remark;
    /*记录修改人*/
    private String creator;
    @TableField(exist = false)
    private String creatorName;
    /*记录修改时间*/
    private  Date createTime;
}
